package com.chance.cc.crawler.development.bootstrap.pdd;

import java.util.regex.Pattern;

/**
 * @author lt
 * @version 1.0
 * @date 2021-05-26 10:45:21
 * @email okprog@sina.com
 */
public class PDDStart {

    public static void main(String[] args) {

        String urlRex = "https://(api-shb1||api).pinduoduo.com/api/caterham/query/subfenlei_gyl_labe1\\S*";
        String url = "https://api.pinduoduo.com/api/caterham/query/subfenlei_gyl_label?pdduid=1720023679323&page_sn=10028&support_types=0_4&opt_id=4936&opt_type=3&offset=1000&count=20&list_id=m6c5yr9n12_4936";
        System.out.println(Pattern.compile(urlRex).matcher(url).matches());
    }
}
